<template>
  <div>
    社保:{{ fatherMoney }}
    <hr />
    <!-- <Son :money="fatherMoney" @update:money="fatherSetMoney"></Son> -->
    <Son :money.sync="fatherMoney"></Son>
  </div>
</template>
<script>
import Son from './components/Son.vue'
export default {
  components: {
    Son
  },
  data () {
    return {
      fatherMoney: 1000
    }
  },
  methods: {
    // fatherSetMoney (num) {
    //   this.fatherMoney = num
    // }
  }
}
</script>
<style></style>
